sign

pure function sign(): integer

Returns -1, 0, or 1 depending on the sign.

Since

0.12.0